System Arial System mes New Roman Arial Arial Arial mes New Roman enterBook enterBook sizeToPage justOpen System -- * PIE MENU implementation v. 2.5 HPaolo Tosolini - Oct '92 * -- * -- * suggestion welcome. Please mail -- * -- * -- * via Bembo, 5 34015 Muggia (TS) -- * Italy -- * tel. +39 40 275030 -- * fax. +39 40 311850 -- * email: tosolini@uts340.univ.trieste. -- Variable initialization 4Xp, Yp, Xq, Yq enterBook enterBook reader sizeToPage enterBook enterBook reader sizeToPage justOpen PieMenu Action PREVIOUS EXTIOUS eMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev stokecolor 0,0,0 Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 Introduction PIE MENU v. 2.5 by Paolo Tosolini - October '92 This is the new release of the Pie pop up Menu implemented in Toolbook using Openscript. Now you can navigate though the pages of this book without any menu appears on the screen. Just click the RIGHT mouseButton and (while keeping pressed it) move the pointer to : RIGHT for NEXT PAGE LEFT for PREVIOUS PAGE UP for page called "Index" DOWN for BACK However, if you keep pressed the RIGHT mouseButton for more than half second, the Pie Menu will be visible and you can see how it works while you move the pointer around it. The action of changing page starts when you release the mouseButton. You can make the PieMenu disapper just releasing the mouseButton in the centre of the Pie........ :PHYSSIZE Index F l txClassName This page is called INDEX and could be the summary page of your book The PieMenu includes the option to go to a page called "Index". To change this option, you should replace the text "Index" in the PieMenu field and the script in the RIGHT buttonUp handler of the background. The textFields of the PieMenu are called "GoNext, GoPrev, GoBack, GoIndex". The entire group is called "PieMenu". To avoid undesired flickering of the commands, the DrawDirect property of the PieMenu components are set to False. For better visual results, in this book there are no DrawnDirect objects. New improvements for the coming version: The PieMenu v.2.5 may result useful to navigate in a book in a linear way. Four choices are not enough to substitute completely a traditional pull down menu. In my next release I'll try to implement a kind of hierarchy of the commands . GoPrev stokecolor 0,0,0 Previsss GoIndex stokecolor 0,0,0 Index GoNext stokecolor 0,0,0 GoBack stokecolor 0,0,0 PieMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev stokecolor 0,0,0 Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 PieMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev stokecolor 0,0,0 Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 GoPrev stokecolor 0,0,0 Previsss GoIndex stokecolor 0,0,0 Index GoNext stokecolor 0,0,0 GoBack stokecolor 0,0,0 Index Suggestions The Pie Menu is useful when you want the user to concentrate his attention only to the context of the book, without displaying buttons on the screen. The Pie Menu script is written in the background. The variable's initialization is written in the book. The Pie Menu is kept automatically in the first layer. Hotword like this works with the LEFT mouseButton. To create your own application, you should copy, in order, the following parts: - the field called "Action" in the background (or backgrounds) - the "PieMenu" group in each background of your book (and hide it) - book and background scripts Then send an EnterBook from the command Window to reset the variables. I suggest anyway to do these operations once your book is completed.nce your book is completed.......ed..... "Hotwords work fthe leftMouseButton. "\ & "The Pie Menu *rightMouseButton" f"OK" uttonDown rightButtonDown buttonDown buttonStillDown buttonDown Hotwords work with the leftMouseButton. The Pie Menu with the rightMouseButton rightButtonDown buttonStillDown PieMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev stokecolor 0,0,0 Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 Author I look forward to hearing from you ! Your suggestions, comments and criticisms are very helpful for me. They are new energy for everybody's brainstorming to find new interface solutions. Please, write to: Paolo Tosolini - via Bembo, 5 - 34105 Muggia (TS) - Italy tel. +39-40-275030 fax. +39-40-311850 email: tosolini@uts340.univ.trieste.it REFERENCES [ Callahan J., Hopkins D., Weiser M., Shneiderman B. (1988) "An empirical comparison of Pie versus Linear Menus", Proceedings of CHI' 88 ] [ Kurtenbach P.G., Sellen A. J. e Buxton W. A. S. (1992) ," An Empirical Evaluation of some Articulatory and Cognitive Aspects of Marking Menus", to print on Journal HCI January 1993 ] it to every page of your application. I suggest anyway to do these operations once your book is completed. GoNext PieMenu 0,0,0 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,50,100 GoBack PieMenu 0,0,0 rightButtonUp PieMenu Action PREVIOUS Action Action INDEX Action Index PieMenu LeavePage pieMenu pieMenu ClearPie GoNext PieMenu 0,0,0 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,0,0 GoBack PieMenu 0,0,0 ButtonUp pieMenu Introduction Suggestions Author Printer Set&up... &Print Page Author I look forward to hearing from you ! Your suggestions, comments and criticisms are very helpful for me. They are new energy for everybody's brainstorming to find new interface solutions. Please, write to: Paolo Tosolini - via Bembo, 5 - 34105 Muggia (TS) - Italy tel. +39-40-275030 fax. +39-40-311850 email: tosolini@uts340.univ.trieste.it REFERENCES [ Callahan J., Hopkins D., Weiser M., Shneiderman B. (1988) "An empirical comparison of Pie versus Linear Menus", Proceedings of CHI' 88 ] [ Kurtenbach P.G., Sellen A. J. e Buxton W. A. S. (1992) ," An Empirical Evaluation of some Articulatory and Cognitive Aspects of Marking Menus", to print on Journal HCI January 1993 ] it to every page of your application. I suggest anyway to do these operations once your book is completed. PieMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev , stokecolor 0,0,0 h @ e Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 a@X@2 i@X@U@]@ -- the called "Action" Background shows (user which action -- he did IPieMenu bringtoFront rightbuttonDown loc "pieMenu" Xp-660,Yp-640 -- puts where mouse ClearPie commands "Up" -- no shown ckeeping pressed leftMouseButton Xp-660,Yp-640 -- -- loop accelerate refresh signed loc2 ) -- detects continuosly -Xp) < 150 ) %-Yp) < 150) -- Pie, znothing {-Xp) >= x-Yp) NEXT angle ? "GoNext" "GoPrev" "GoIndex" "GoBack" PREVIOUS BACK INDEX (keyrightButton) "Up" -- exits rightMouseButton released executed releasing Xp=0 -- avoids unexpected appearance (i.e. doubleClicking on Toolbook icon) (Xq-Xp) < 150 ) (Yq-Yp) < 150) centre (Xq-Xp) >= (Yq-Yp) Xq > Xp Yq > Yp LeavePage ButtonUp -- Right+Left mousebutton enterpage buttonStillDown rightButtonUp rightbuttonDown LeavePage ClearPie ButtonUp enterpage Action background PieMenu PieMenu PieMenu foreground paste 0bringtoFront rightbuttonDown pieMenu !WClearPie buttonStillDown pieMenu pieMenu !WClearPie GoNext PieMenu 0,50,100 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,0,0 GoBack PieMenu 0,0,0 GoNext PieMenu 0,0,0 GoPrev PieMenu 0,50,100 GoIndex PieMenu 0,0,0 GoBack PieMenu 0,0,0 GoNext PieMenu 0,0,0 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,0,0 GoBack PieMenu 0,50,100 GoNext PieMenu 0,0,0 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,50,100 GoBack PieMenu 0,0,0 rightButtonUp PieMenu Action PREVIOUS Action Action INDEX Action Index PieMenu LeavePage pieMenu pieMenu ClearPie GoNext PieMenu 0,0,0 GoPrev PieMenu 0,0,0 GoIndex PieMenu 0,0,0 GoBack PieMenu 0,0,0 ButtonUp pieMenu Index 0 V | txClassName This page is called INDEX and could be the summary page of your book The PieMenu includes the option to go to a page called "Index". To change this option, you should replace the text "Index" in the PieMenu field and the script in the RIGHT buttonUp handler of the background. The textFields of the PieMenu are called "GoNext, GoPrev, GoBack, GoIndex". The entire group is called "PieMenu". To avoid undesired flickering of the commands, the DrawDirect property of the PieMenu components are set to False. For better visual results, in this book there are no DrawnDirect objects. New improvements for the coming version: The PieMenu v.2.5 may result useful to navigate in a book in a linear way. Four choices are not enough to substitute completely a traditional pull down menu. In my next release I'll try to implement a kind of hierarchy of the commands . GoPrev stokecolor 0,0,0 Previsss GoIndex stokecolor 0,0,0 Index GoNext stokecolor 0,0,0 GoBack stokecolor 0,0,0 PieMenu txClassName GoIndex stokecolor 0,0,0 Index GoPrev stokecolor 0,0,0 Previsss GoBack stokecolor 0,0,0 GoNext stokecolor 0,0,0 c%?Ky Ak>^U `uomj